{
    "name": "oblivion-desktop",
    "description": "unofficial desktop version of oblivion",
    "author": "ircfspace+kiomarzsss <ircfspace@gmail.com> (https://ircf.space/)",
    "homepage": "https://github.com/bepass-org/oblivion-desktop#readme",
    "repository": {
        "type": "git",
        "url": "git+https://github.com/bepass-org/oblivion-desktop.git"
    },
    "bugs": {
        "url": "https://github.com/bepass-org/oblivion-desktop/issues",
        "email": "ircfspace@gmail.com"
    },
    "version": "0.2.44-beta",
    "license": "Restrictive",
    "main": "./src/main/main.ts",
    "scripts": {
        "build": "ts-node script/dlWp.ts && concurrently \"npm run build:main\" \"npm run build:renderer\"",
        "build:dll": "cross-env NODE_ENV=development TS_NODE_TRANSPILE_ONLY=true webpack --config ./.erb/configs/webpack.config.renderer.dev.dll.ts",
        "build:main": "cross-env NODE_ENV=production TS_NODE_TRANSPILE_ONLY=true webpack --config ./.erb/configs/webpack.config.main.prod.ts",
        "build:renderer": "cross-env NODE_ENV=production TS_NODE_TRANSPILE_ONLY=true webpack --config ./.erb/configs/webpack.config.renderer.prod.ts",
        "postinstall": "ts-node .erb/scripts/check-native-dep.js && electron-builder install-app-deps && npm run build:dll",
        "prepare": "ts-node script/dlWp.ts && husky",
        "lint": "cross-env NODE_ENV=development eslint . --ext .js,.jsx,.ts,.tsx",
        "package": "ts-node ./.erb/scripts/clean.js dist && npm run build && electron-builder build --publish never && npm run build:dll",
        "rebuild": "electron-rebuild --parallel --types prod,dev,optional --module-dir release/app",
        "start": "ts-node ./.erb/scripts/check-port-in-use.js && npm run start:renderer",
        "dev": "ts-node ./.erb/scripts/check-port-in-use.js && npm run start:renderer",
        "start:main": "cross-env NODE_ENV=development electronmon -r ts-node/register/transpile-only .",
        "start:preload": "cross-env NODE_ENV=development TS_NODE_TRANSPILE_ONLY=true webpack --config ./.erb/configs/webpack.config.preload.dev.ts",
        "start:renderer": "cross-env NODE_ENV=development TS_NODE_TRANSPILE_ONLY=true webpack serve --config ./.erb/configs/webpack.config.renderer.dev.ts",
        "test": "jest",
        "format": "prettier --write . --config .prettierrc --ignore-path .prettierignore --cache",
        "format:check": "prettier . --check --cache --config .prettierrc --ignore-path .prettierignore",
        "tsc": "tsc --noEmit --incremental",
        "changeVersion": "ts-node ./script/changeVersion"
    },
    "browserslist": [],
    "prettier": {
        "singleQuote": true,
        "overrides": [
            {
                "files": [
                    ".prettierrc",
                    ".eslintrc"
                ],
                "options": {
                    "parser": "json"
                }
            }
        ]
    },
    "jest": {
        "moduleDirectories": [
            "node_modules",
            "release/app/node_modules",
            "src"
        ],
        "moduleFileExtensions": [
            "js",
            "jsx",
            "ts",
            "tsx",
            "json"
        ],
        "moduleNameMapper": {
            "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/.erb/mocks/fileMock.js",
            "\\.(css|less|sass|scss)$": "identity-obj-proxy"
        },
        "setupFiles": [
            "./.erb/scripts/check-build-exists.ts"
        ],
        "testEnvironment": "jsdom",
        "testEnvironmentOptions": {
            "url": "http://localhost/"
        },
        "testPathIgnorePatterns": [
            "release/app/dist",
            ".erb/dll"
        ],
        "transform": {
            "\\.(ts|tsx|js|jsx)$": "ts-jest"
        }
    },
    "dependencies": {
        "axios": "^1.6.8",
        "classnames": "^2.5.1",
        "decompress": "^4.2.1",
        "electron-debug": "^3.2.0",
        "electron-log": "^4.4.8",
        "electron-settings": "^4.0.3",
        "lottie-react": "^2.4.0",
        "react": "^18.2.0",
        "react-country-flag": "^3.1.0",
        "react-dom": "^18.2.0",
        "react-hot-toast": "^2.4.1",
        "react-modern-drawer": "^1.2.2",
        "react-router-dom": "^6.16.0",
        "tree-kill": "^1.2.2",
        "zustand": "^4.5.2"
    },
    "devDependencies": {
        "@electron/notarize": "^2.1.0",
        "@electron/rebuild": "^3.3.0",
        "@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
        "@svgr/webpack": "^8.1.0",
        "@teamsupercell/typings-for-css-modules-loader": "^2.5.2",
        "@testing-library/jest-dom": "^6.1.3",
        "@testing-library/react": "^14.0.0",
        "@types/decompress": "^4.2.7",
        "@types/jest": "^29.5.5",
        "@types/node": "20.6.2",
        "@types/react": "^18.2.21",
        "@types/react-dom": "^18.2.7",
        "@types/react-test-renderer": "^18.0.1",
        "@types/terser-webpack-plugin": "^5.0.4",
        "@types/webpack-bundle-analyzer": "^4.6.0",
        "@typescript-eslint/eslint-plugin": "^6.7.0",
        "@typescript-eslint/parser": "^6.7.0",
        "browserslist-config-erb": "^0.0.3",
        "chalk": "^4.1.2",
        "concurrently": "^8.2.1",
        "core-js": "^3.32.2",
        "cross-env": "^7.0.3",
        "css-loader": "^6.8.1",
        "css-minimizer-webpack-plugin": "^5.0.1",
        "detect-port": "^1.5.1",
        "electron": "^26.2.1",
        "electron-builder": "^24.6.4",
        "electron-devtools-installer": "^3.2.0",
        "electronmon": "^2.0.2",
        "eslint": "^8.49.0",
        "eslint-config-airbnb-base": "^15.0.0",
        "eslint-config-erb": "^4.1.0-0",
        "eslint-import-resolver-typescript": "^3.6.0",
        "eslint-import-resolver-webpack": "^0.13.7",
        "eslint-plugin-compat": "^4.2.0",
        "eslint-plugin-import": "^2.28.1",
        "eslint-plugin-jest": "^27.4.0",
        "eslint-plugin-jsx-a11y": "^6.7.1",
        "eslint-plugin-promise": "^6.1.1",
        "eslint-plugin-react": "^7.33.2",
        "eslint-plugin-react-hooks": "^4.6.0",
        "file-loader": "^6.2.0",
        "html-webpack-plugin": "^5.5.3",
        "husky": "^9.0.11",
        "identity-obj-proxy": "^3.0.0",
        "jest": "^29.7.0",
        "jest-environment-jsdom": "^29.7.0",
        "mini-css-extract-plugin": "^2.7.6",
        "prettier": "^3.2.5",
        "react-refresh": "^0.14.0",
        "react-test-renderer": "^18.2.0",
        "rimraf": "^5.0.1",
        "sass": "^1.67.0",
        "sass-loader": "^13.3.2",
        "style-loader": "^3.3.3",
        "terser-webpack-plugin": "^5.3.9",
        "ts-jest": "^29.1.1",
        "ts-loader": "^9.4.4",
        "ts-node": "^10.9.1",
        "tsconfig-paths-webpack-plugin": "^4.1.0",
        "typescript": "^5.4.5",
        "url-loader": "^4.1.1",
        "webpack": "^5.88.2",
        "webpack-bundle-analyzer": "^4.9.1",
        "webpack-cli": "^5.1.4",
        "webpack-dev-server": "^4.15.1",
        "webpack-merge": "^5.9.0"
    },
    "build": {
        "productName": "Oblivion Desktop",
        "appId": "org.desktop.oblivion",
        "artifactName": "oblivion-desktop-${os}-${arch}.${ext}",
        "asar": true,
        "asarUnpack": "**\\*.{node,dll}",
        "files": [
            "dist",
            "node_modules",
            "package.json",
            "assets/bin"
        ],
        "afterSign": ".erb/scripts/notarize.js",
        "mac": {
            "target": [
                "dmg",
                "pkg"
            ],
            "type": "distribution",
            "hardenedRuntime": true,
            "entitlements": "assets/entitlements.mac.plist",
            "entitlementsInherit": "assets/entitlements.mac.plist",
            "gatekeeperAssess": false
        },
        "dmg": {
            "contents": [
                {
                    "x": 130,
                    "y": 220
                },
                {
                    "x": 410,
                    "y": 220,
                    "type": "link",
                    "path": "/Applications"
                }
            ]
        },
        "win": {
            "target": [
                "nsis",
                "zip"
            ]
        },
        "nsis": {
            "oneClick": false,
            "allowToChangeInstallationDirectory": true,
            "deleteAppDataOnUninstall": true
        },
        "linux": {
            "target": [
                "deb",
                "rpm",
                "tar.xz"
            ],
            "category": "Utility"
        },
        "directories": {
            "app": "release/app",
            "buildResources": "assets",
            "output": "release/build"
        },
        "extraResources": [
            "./assets/**"
        ],
        "publish": {
            "provider": "github",
            "owner": "bepass-org",
            "repo": "oblivion-desktop",
            "publishAutoUpdate": false
        }
    },
    "devEngines": {
        "node": ">=14.x",
        "npm": ">=7.x"
    },
    "electronmon": {
        "patterns": [
            "!**/**",
            "src/main/**"
        ],
        "logLevel": "quiet"
    }
}
